package com.demo.entity;


import java.sql.Timestamp;

public class Offer {
    private Integer id;
    /**
     * 物品ID
     */
    private String goodsId;
    /**
     * 报价名称
     */
    private String name;
    /**
     * 报价计量单位 如果存在，则覆盖产品计量单位
     */
    private String unit;
    /**
     * 价格计量单位
     */
    private String priceUnit;
    /**
     * 物品编码
     */
    private String code;
    /**
     * 物品名称
     */
    private String goodsName;
    /**
     * 可售数量[吨]
     */
    private Double saleNum;
    /***
     * 预扣数量[吨]
     */
    private Double withholdingNum;
    /**
     * 已扣除数量
     */
    private Double deductedNum;
    /**
     * 该报价成单数量
     */
    private Double count;
    /**
     * 质量规格
     */
    private String qualitySpec;
    /***
     * 打包质量
     */
    private String packSpec;
    /**
     * 提货地
     */
    private String deliverPlace;
    /**
     * 提货地仓库ids
     */
    private String deliverPlaceIds;
    /**
     * 提货方式
     */
    private String deliverMethod;
    /**
     * 销售员提成比例
     */
    private Double salesMan;
    /**
     * 销售经理提成比例
     */
    private Double salesManager;
    /**
     * 单价
     */
    private Double price;
    /**
     * 实际成交价格：默认会等于报价,鉴于用户修改，可能不等于报价
     */
    private Double actualPrice;
    /**
     * 创建人
     */
    private String creator;
    /***
     * 创建人ID
     */
    private String creatorId;
    /***
     * 更新时间
     */
    private Timestamp updateAt;
    /**
     * 创建时间
     */
    private Timestamp createAt;
    private Timestamp updatePriceTime;

    public Timestamp getUpdatePriceTime() {
        return updatePriceTime;
    }

    public void setUpdatePriceTime(Timestamp updatePriceTime) {
        this.updatePriceTime = updatePriceTime;
    }

    private String remark;
    /**
     * 报价状态：0暂停报价，1正常报价,3逻辑删除,默认为1
     */
    private String status;
    private String qualityRequire;

    public String getQualityRequire() {
        return qualityRequire;
    }

    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setQualityRequire(String qualityRequire) {
        this.qualityRequire = qualityRequire;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getPriceUnit() {
        return priceUnit;
    }

    public void setPriceUnit(String priceUnit) {
        this.priceUnit = priceUnit;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId == null ? null : goodsId.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public Double getSaleNum() {
        return saleNum;
    }

    public void setSaleNum(Double saleNum) {
        this.saleNum = saleNum;
    }

    public Double getWithholdingNum() {
        return withholdingNum;
    }

    public void setWithholdingNum(Double withholdingNum) {
        this.withholdingNum = withholdingNum;
    }

    public void setCount(Double count) {
        this.count = count;
    }

    public String getQualitySpec() {
        return qualitySpec;
    }

    public void setQualitySpec(String qualitySpec) {
        this.qualitySpec = qualitySpec == null ? null : qualitySpec.trim();
    }

    public String getPackSpec() {
        return packSpec;
    }

    public void setPackSpec(String packSpec) {
        this.packSpec = packSpec == null ? null : packSpec.trim();
    }

    public String getDeliverPlace() {
        return deliverPlace;
    }

    public void setDeliverPlace(String deliverPlace) {
        this.deliverPlace = deliverPlace == null ? null : deliverPlace.trim();
    }

    public String getDeliverMethod() {
        return deliverMethod;
    }

    public void setDeliverMethod(String deliverMethod) {
        this.deliverMethod = deliverMethod == null ? null : deliverMethod.trim();
    }

    public Double getSalesMan() {
        return salesMan;
    }

    public void setSalesMan(Double salesMan) {
        this.salesMan = salesMan;
    }

    public Double getSalesManager() {
        return salesManager;
    }

    public void setSalesManager(Double salesManager) {
        this.salesManager = salesManager;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId == null ? null : creatorId.trim();
    }

    public Timestamp getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Timestamp updateAt) {
        this.updateAt = updateAt;
    }

    public Timestamp getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Timestamp createAt) {
        this.createAt = createAt;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Double getDeductedNum() {
        return deductedNum;
    }

    public Double getCount() {
        return count;
    }

    public Double getActualPrice() {
        return actualPrice;
    }

    public void setActualPrice(Double actualPrice) {
        this.actualPrice = actualPrice;
    }

    public void setDeductedNum(Double deductedNum) {
        this.deductedNum = deductedNum;
    }

    public String getDeliverPlaceIds() {
        return deliverPlaceIds;
    }

    public void setDeliverPlaceIds(String deliverPlaceIds) {
        this.deliverPlaceIds = deliverPlaceIds;
    }
}